import { ApiProperty, PartialType } from '@nestjs/swagger';
import { Product } from "../entities/product.entity";

export class SearchProduct extends PartialType(Product) {
    @ApiProperty()
    page: number;

    @ApiProperty()
    pageSize: number;

    @ApiProperty()
    startDate: Date;

    @ApiProperty()
    endData: Date;
}
